package com.uplooking.pojo;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

public class LogVOExample {
	protected String orderByClause;

	protected boolean distinct;

	protected Integer start;

	protected Integer limit;

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	protected List<Criteria> oredCriteria;

	public LogVOExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andLgidIsNull() {
			addCriterion("lgid is null");
			return (Criteria) this;
		}

		public Criteria andLgidIsNotNull() {
			addCriterion("lgid is not null");
			return (Criteria) this;
		}

		public Criteria andLgidEqualTo(Integer value) {
			addCriterion("lgid =", value, "lgid");
			return (Criteria) this;
		}

		public Criteria andLgidNotEqualTo(Integer value) {
			addCriterion("lgid <>", value, "lgid");
			return (Criteria) this;
		}

		public Criteria andLgidGreaterThan(Integer value) {
			addCriterion("lgid >", value, "lgid");
			return (Criteria) this;
		}

		public Criteria andLgidGreaterThanOrEqualTo(Integer value) {
			addCriterion("lgid >=", value, "lgid");
			return (Criteria) this;
		}

		public Criteria andLgidLessThan(Integer value) {
			addCriterion("lgid <", value, "lgid");
			return (Criteria) this;
		}

		public Criteria andLgidLessThanOrEqualTo(Integer value) {
			addCriterion("lgid <=", value, "lgid");
			return (Criteria) this;
		}

		public Criteria andLgidIn(List<Integer> values) {
			addCriterion("lgid in", values, "lgid");
			return (Criteria) this;
		}

		public Criteria andLgidNotIn(List<Integer> values) {
			addCriterion("lgid not in", values, "lgid");
			return (Criteria) this;
		}

		public Criteria andLgidBetween(Integer value1, Integer value2) {
			addCriterion("lgid between", value1, value2, "lgid");
			return (Criteria) this;
		}

		public Criteria andLgidNotBetween(Integer value1, Integer value2) {
			addCriterion("lgid not between", value1, value2, "lgid");
			return (Criteria) this;
		}

		public Criteria andLgmethodIsNull() {
			addCriterion("lgmethod is null");
			return (Criteria) this;
		}

		public Criteria andLgmethodIsNotNull() {
			addCriterion("lgmethod is not null");
			return (Criteria) this;
		}

		public Criteria andLgmethodEqualTo(String value) {
			addCriterion("lgmethod =", value, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgmethodNotEqualTo(String value) {
			addCriterion("lgmethod <>", value, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgmethodGreaterThan(String value) {
			addCriterion("lgmethod >", value, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgmethodGreaterThanOrEqualTo(String value) {
			addCriterion("lgmethod >=", value, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgmethodLessThan(String value) {
			addCriterion("lgmethod <", value, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgmethodLessThanOrEqualTo(String value) {
			addCriterion("lgmethod <=", value, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgmethodLike(String value) {
			addCriterion("lgmethod like", value, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgmethodNotLike(String value) {
			addCriterion("lgmethod not like", value, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgmethodIn(List<String> values) {
			addCriterion("lgmethod in", values, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgmethodNotIn(List<String> values) {
			addCriterion("lgmethod not in", values, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgmethodBetween(String value1, String value2) {
			addCriterion("lgmethod between", value1, value2, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgmethodNotBetween(String value1, String value2) {
			addCriterion("lgmethod not between", value1, value2, "lgmethod");
			return (Criteria) this;
		}

		public Criteria andLgtimeIsNull() {
			addCriterion("lgtime is null");
			return (Criteria) this;
		}

		public Criteria andLgtimeIsNotNull() {
			addCriterion("lgtime is not null");
			return (Criteria) this;
		}

		public Criteria andLgtimeEqualTo(Timestamp value) {
			addCriterion("lgtime =", value, "lgtime");
			return (Criteria) this;
		}

		public Criteria andLgtimeNotEqualTo(Timestamp value) {
			addCriterion("lgtime <>", value, "lgtime");
			return (Criteria) this;
		}

		public Criteria andLgtimeGreaterThan(Timestamp value) {
			addCriterion("lgtime >", value, "lgtime");
			return (Criteria) this;
		}

		public Criteria andLgtimeGreaterThanOrEqualTo(Timestamp value) {
			addCriterion("lgtime >=", value, "lgtime");
			return (Criteria) this;
		}

		public Criteria andLgtimeLessThan(Timestamp value) {
			addCriterion("lgtime <", value, "lgtime");
			return (Criteria) this;
		}

		public Criteria andLgtimeLessThanOrEqualTo(Timestamp value) {
			addCriterion("lgtime <=", value, "lgtime");
			return (Criteria) this;
		}

		public Criteria andLgtimeIn(List<Timestamp> values) {
			addCriterion("lgtime in", values, "lgtime");
			return (Criteria) this;
		}

		public Criteria andLgtimeNotIn(List<Timestamp> values) {
			addCriterion("lgtime not in", values, "lgtime");
			return (Criteria) this;
		}

		public Criteria andLgtimeBetween(Timestamp value1, Timestamp value2) {
			addCriterion("lgtime between", value1, value2, "lgtime");
			return (Criteria) this;
		}

		public Criteria andLgtimeNotBetween(Timestamp value1, Timestamp value2) {
			addCriterion("lgtime not between", value1, value2, "lgtime");
			return (Criteria) this;
		}

		public Criteria andLgunameIsNull() {
			addCriterion("lguname is null");
			return (Criteria) this;
		}

		public Criteria andLgunameIsNotNull() {
			addCriterion("lguname is not null");
			return (Criteria) this;
		}

		public Criteria andLgunameEqualTo(String value) {
			addCriterion("lguname =", value, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgunameNotEqualTo(String value) {
			addCriterion("lguname <>", value, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgunameGreaterThan(String value) {
			addCriterion("lguname >", value, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgunameGreaterThanOrEqualTo(String value) {
			addCriterion("lguname >=", value, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgunameLessThan(String value) {
			addCriterion("lguname <", value, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgunameLessThanOrEqualTo(String value) {
			addCriterion("lguname <=", value, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgunameLike(String value) {
			addCriterion("lguname like", value, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgunameNotLike(String value) {
			addCriterion("lguname not like", value, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgunameIn(List<String> values) {
			addCriterion("lguname in", values, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgunameNotIn(List<String> values) {
			addCriterion("lguname not in", values, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgunameBetween(String value1, String value2) {
			addCriterion("lguname between", value1, value2, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgunameNotBetween(String value1, String value2) {
			addCriterion("lguname not between", value1, value2, "lguname");
			return (Criteria) this;
		}

		public Criteria andLgrnameIsNull() {
			addCriterion("lgrname is null");
			return (Criteria) this;
		}

		public Criteria andLgrnameIsNotNull() {
			addCriterion("lgrname is not null");
			return (Criteria) this;
		}

		public Criteria andLgrnameEqualTo(String value) {
			addCriterion("lgrname =", value, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgrnameNotEqualTo(String value) {
			addCriterion("lgrname <>", value, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgrnameGreaterThan(String value) {
			addCriterion("lgrname >", value, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgrnameGreaterThanOrEqualTo(String value) {
			addCriterion("lgrname >=", value, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgrnameLessThan(String value) {
			addCriterion("lgrname <", value, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgrnameLessThanOrEqualTo(String value) {
			addCriterion("lgrname <=", value, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgrnameLike(String value) {
			addCriterion("lgrname like", value, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgrnameNotLike(String value) {
			addCriterion("lgrname not like", value, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgrnameIn(List<String> values) {
			addCriterion("lgrname in", values, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgrnameNotIn(List<String> values) {
			addCriterion("lgrname not in", values, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgrnameBetween(String value1, String value2) {
			addCriterion("lgrname between", value1, value2, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgrnameNotBetween(String value1, String value2) {
			addCriterion("lgrname not between", value1, value2, "lgrname");
			return (Criteria) this;
		}

		public Criteria andLgdescIsNull() {
			addCriterion("lgdesc is null");
			return (Criteria) this;
		}

		public Criteria andLgdescIsNotNull() {
			addCriterion("lgdesc is not null");
			return (Criteria) this;
		}

		public Criteria andLgdescEqualTo(String value) {
			addCriterion("lgdesc =", value, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgdescNotEqualTo(String value) {
			addCriterion("lgdesc <>", value, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgdescGreaterThan(String value) {
			addCriterion("lgdesc >", value, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgdescGreaterThanOrEqualTo(String value) {
			addCriterion("lgdesc >=", value, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgdescLessThan(String value) {
			addCriterion("lgdesc <", value, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgdescLessThanOrEqualTo(String value) {
			addCriterion("lgdesc <=", value, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgdescLike(String value) {
			addCriterion("lgdesc like", value, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgdescNotLike(String value) {
			addCriterion("lgdesc not like", value, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgdescIn(List<String> values) {
			addCriterion("lgdesc in", values, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgdescNotIn(List<String> values) {
			addCriterion("lgdesc not in", values, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgdescBetween(String value1, String value2) {
			addCriterion("lgdesc between", value1, value2, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgdescNotBetween(String value1, String value2) {
			addCriterion("lgdesc not between", value1, value2, "lgdesc");
			return (Criteria) this;
		}

		public Criteria andLgipIsNull() {
			addCriterion("lgip is null");
			return (Criteria) this;
		}

		public Criteria andLgipIsNotNull() {
			addCriterion("lgip is not null");
			return (Criteria) this;
		}

		public Criteria andLgipEqualTo(String value) {
			addCriterion("lgip =", value, "lgip");
			return (Criteria) this;
		}

		public Criteria andLgipNotEqualTo(String value) {
			addCriterion("lgip <>", value, "lgip");
			return (Criteria) this;
		}

		public Criteria andLgipGreaterThan(String value) {
			addCriterion("lgip >", value, "lgip");
			return (Criteria) this;
		}

		public Criteria andLgipGreaterThanOrEqualTo(String value) {
			addCriterion("lgip >=", value, "lgip");
			return (Criteria) this;
		}

		public Criteria andLgipLessThan(String value) {
			addCriterion("lgip <", value, "lgip");
			return (Criteria) this;
		}

		public Criteria andLgipLessThanOrEqualTo(String value) {
			addCriterion("lgip <=", value, "lgip");
			return (Criteria) this;
		}

		public Criteria andLgipLike(String value) {
			addCriterion("lgip like", value, "lgip");
			return (Criteria) this;
		}

		public Criteria andLgipNotLike(String value) {
			addCriterion("lgip not like", value, "lgip");
			return (Criteria) this;
		}

		public Criteria andLgipIn(List<String> values) {
			addCriterion("lgip in", values, "lgip");
			return (Criteria) this;
		}

		public Criteria andLgipNotIn(List<String> values) {
			addCriterion("lgip not in", values, "lgip");
			return (Criteria) this;
		}

		public Criteria andLgipBetween(String value1, String value2) {
			addCriterion("lgip between", value1, value2, "lgip");
			return (Criteria) this;
		}

		public Criteria andLgipNotBetween(String value1, String value2) {
			addCriterion("lgip not between", value1, value2, "lgip");
			return (Criteria) this;
		}
	}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}